package com.itcncp.ucenter.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ItcsPlazaInfoExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public ItcsPlazaInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTollPlazaIdIsNull() {
            addCriterion("toll_plaza_id is null");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdIsNotNull() {
            addCriterion("toll_plaza_id is not null");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdEqualTo(String value) {
            addCriterion("toll_plaza_id =", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdNotEqualTo(String value) {
            addCriterion("toll_plaza_id <>", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdGreaterThan(String value) {
            addCriterion("toll_plaza_id >", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdGreaterThanOrEqualTo(String value) {
            addCriterion("toll_plaza_id >=", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdLessThan(String value) {
            addCriterion("toll_plaza_id <", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdLessThanOrEqualTo(String value) {
            addCriterion("toll_plaza_id <=", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdLike(String value) {
            addCriterion("toll_plaza_id like", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdNotLike(String value) {
            addCriterion("toll_plaza_id not like", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdIn(List<String> values) {
            addCriterion("toll_plaza_id in", values, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdNotIn(List<String> values) {
            addCriterion("toll_plaza_id not in", values, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdBetween(String value1, String value2) {
            addCriterion("toll_plaza_id between", value1, value2, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdNotBetween(String value1, String value2) {
            addCriterion("toll_plaza_id not between", value1, value2, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andStationIdIsNull() {
            addCriterion("station_id is null");
            return (Criteria) this;
        }

        public Criteria andStationIdIsNotNull() {
            addCriterion("station_id is not null");
            return (Criteria) this;
        }

        public Criteria andStationIdEqualTo(String value) {
            addCriterion("station_id =", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotEqualTo(String value) {
            addCriterion("station_id <>", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdGreaterThan(String value) {
            addCriterion("station_id >", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdGreaterThanOrEqualTo(String value) {
            addCriterion("station_id >=", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdLessThan(String value) {
            addCriterion("station_id <", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdLessThanOrEqualTo(String value) {
            addCriterion("station_id <=", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdLike(String value) {
            addCriterion("station_id like", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotLike(String value) {
            addCriterion("station_id not like", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdIn(List<String> values) {
            addCriterion("station_id in", values, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotIn(List<String> values) {
            addCriterion("station_id not in", values, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdBetween(String value1, String value2) {
            addCriterion("station_id between", value1, value2, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotBetween(String value1, String value2) {
            addCriterion("station_id not between", value1, value2, "stationId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Byte value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Byte value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Byte value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Byte value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Byte value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Byte> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Byte> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Byte value1, Byte value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeIsNull() {
            addCriterion("plaza_type is null");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeIsNotNull() {
            addCriterion("plaza_type is not null");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeEqualTo(Byte value) {
            addCriterion("plaza_type =", value, "plazaType");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeNotEqualTo(Byte value) {
            addCriterion("plaza_type <>", value, "plazaType");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeGreaterThan(Byte value) {
            addCriterion("plaza_type >", value, "plazaType");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("plaza_type >=", value, "plazaType");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeLessThan(Byte value) {
            addCriterion("plaza_type <", value, "plazaType");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeLessThanOrEqualTo(Byte value) {
            addCriterion("plaza_type <=", value, "plazaType");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeIn(List<Byte> values) {
            addCriterion("plaza_type in", values, "plazaType");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeNotIn(List<Byte> values) {
            addCriterion("plaza_type not in", values, "plazaType");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeBetween(Byte value1, Byte value2) {
            addCriterion("plaza_type between", value1, value2, "plazaType");
            return (Criteria) this;
        }

        public Criteria andPlazaTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("plaza_type not between", value1, value2, "plazaType");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNull() {
            addCriterion("longitude is null");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNotNull() {
            addCriterion("longitude is not null");
            return (Criteria) this;
        }

        public Criteria andLongitudeEqualTo(BigDecimal value) {
            addCriterion("longitude =", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotEqualTo(BigDecimal value) {
            addCriterion("longitude <>", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThan(BigDecimal value) {
            addCriterion("longitude >", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("longitude >=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThan(BigDecimal value) {
            addCriterion("longitude <", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("longitude <=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIn(List<BigDecimal> values) {
            addCriterion("longitude in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotIn(List<BigDecimal> values) {
            addCriterion("longitude not in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude not between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNull() {
            addCriterion("latitude is null");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNotNull() {
            addCriterion("latitude is not null");
            return (Criteria) this;
        }

        public Criteria andLatitudeEqualTo(BigDecimal value) {
            addCriterion("latitude =", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotEqualTo(BigDecimal value) {
            addCriterion("latitude <>", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThan(BigDecimal value) {
            addCriterion("latitude >", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("latitude >=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThan(BigDecimal value) {
            addCriterion("latitude <", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("latitude <=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIn(List<BigDecimal> values) {
            addCriterion("latitude in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotIn(List<BigDecimal> values) {
            addCriterion("latitude not in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude not between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andStakeNumIsNull() {
            addCriterion("stake_num is null");
            return (Criteria) this;
        }

        public Criteria andStakeNumIsNotNull() {
            addCriterion("stake_num is not null");
            return (Criteria) this;
        }

        public Criteria andStakeNumEqualTo(String value) {
            addCriterion("stake_num =", value, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andStakeNumNotEqualTo(String value) {
            addCriterion("stake_num <>", value, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andStakeNumGreaterThan(String value) {
            addCriterion("stake_num >", value, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andStakeNumGreaterThanOrEqualTo(String value) {
            addCriterion("stake_num >=", value, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andStakeNumLessThan(String value) {
            addCriterion("stake_num <", value, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andStakeNumLessThanOrEqualTo(String value) {
            addCriterion("stake_num <=", value, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andStakeNumLike(String value) {
            addCriterion("stake_num like", value, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andStakeNumNotLike(String value) {
            addCriterion("stake_num not like", value, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andStakeNumIn(List<String> values) {
            addCriterion("stake_num in", values, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andStakeNumNotIn(List<String> values) {
            addCriterion("stake_num not in", values, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andStakeNumBetween(String value1, String value2) {
            addCriterion("stake_num between", value1, value2, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andStakeNumNotBetween(String value1, String value2) {
            addCriterion("stake_num not between", value1, value2, "stakeNum");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountIsNull() {
            addCriterion("app_lane_count is null");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountIsNotNull() {
            addCriterion("app_lane_count is not null");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountEqualTo(Integer value) {
            addCriterion("app_lane_count =", value, "appLaneCount");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountNotEqualTo(Integer value) {
            addCriterion("app_lane_count <>", value, "appLaneCount");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountGreaterThan(Integer value) {
            addCriterion("app_lane_count >", value, "appLaneCount");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("app_lane_count >=", value, "appLaneCount");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountLessThan(Integer value) {
            addCriterion("app_lane_count <", value, "appLaneCount");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountLessThanOrEqualTo(Integer value) {
            addCriterion("app_lane_count <=", value, "appLaneCount");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountIn(List<Integer> values) {
            addCriterion("app_lane_count in", values, "appLaneCount");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountNotIn(List<Integer> values) {
            addCriterion("app_lane_count not in", values, "appLaneCount");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountBetween(Integer value1, Integer value2) {
            addCriterion("app_lane_count between", value1, value2, "appLaneCount");
            return (Criteria) this;
        }

        public Criteria andAppLaneCountNotBetween(Integer value1, Integer value2) {
            addCriterion("app_lane_count not between", value1, value2, "appLaneCount");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountIsNull() {
            addCriterion("mix_lane_count is null");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountIsNotNull() {
            addCriterion("mix_lane_count is not null");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountEqualTo(Integer value) {
            addCriterion("mix_lane_count =", value, "mixLaneCount");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountNotEqualTo(Integer value) {
            addCriterion("mix_lane_count <>", value, "mixLaneCount");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountGreaterThan(Integer value) {
            addCriterion("mix_lane_count >", value, "mixLaneCount");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("mix_lane_count >=", value, "mixLaneCount");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountLessThan(Integer value) {
            addCriterion("mix_lane_count <", value, "mixLaneCount");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountLessThanOrEqualTo(Integer value) {
            addCriterion("mix_lane_count <=", value, "mixLaneCount");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountIn(List<Integer> values) {
            addCriterion("mix_lane_count in", values, "mixLaneCount");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountNotIn(List<Integer> values) {
            addCriterion("mix_lane_count not in", values, "mixLaneCount");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountBetween(Integer value1, Integer value2) {
            addCriterion("mix_lane_count between", value1, value2, "mixLaneCount");
            return (Criteria) this;
        }

        public Criteria andMixLaneCountNotBetween(Integer value1, Integer value2) {
            addCriterion("mix_lane_count not between", value1, value2, "mixLaneCount");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andDelIsNull() {
            addCriterion("del is null");
            return (Criteria) this;
        }

        public Criteria andDelIsNotNull() {
            addCriterion("del is not null");
            return (Criteria) this;
        }

        public Criteria andDelEqualTo(Byte value) {
            addCriterion("del =", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelNotEqualTo(Byte value) {
            addCriterion("del <>", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelGreaterThan(Byte value) {
            addCriterion("del >", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelGreaterThanOrEqualTo(Byte value) {
            addCriterion("del >=", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelLessThan(Byte value) {
            addCriterion("del <", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelLessThanOrEqualTo(Byte value) {
            addCriterion("del <=", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelIn(List<Byte> values) {
            addCriterion("del in", values, "del");
            return (Criteria) this;
        }

        public Criteria andDelNotIn(List<Byte> values) {
            addCriterion("del not in", values, "del");
            return (Criteria) this;
        }

        public Criteria andDelBetween(Byte value1, Byte value2) {
            addCriterion("del between", value1, value2, "del");
            return (Criteria) this;
        }

        public Criteria andDelNotBetween(Byte value1, Byte value2) {
            addCriterion("del not between", value1, value2, "del");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNull() {
            addCriterion("store_id is null");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNotNull() {
            addCriterion("store_id is not null");
            return (Criteria) this;
        }

        public Criteria andStoreIdEqualTo(Long value) {
            addCriterion("store_id =", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotEqualTo(Long value) {
            addCriterion("store_id <>", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThan(Long value) {
            addCriterion("store_id >", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanOrEqualTo(Long value) {
            addCriterion("store_id >=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThan(Long value) {
            addCriterion("store_id <", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanOrEqualTo(Long value) {
            addCriterion("store_id <=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdIn(List<Long> values) {
            addCriterion("store_id in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotIn(List<Long> values) {
            addCriterion("store_id not in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdBetween(Long value1, Long value2) {
            addCriterion("store_id between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotBetween(Long value1, Long value2) {
            addCriterion("store_id not between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}